namespace Transport.Interfaces
{
    public interface IFullDuplexChannel
    {
        event ByteArrayEventHandler DataReceived;

        void SendData(byte[] buffer);

        void Start();

        void Stop();

        void Reset();
    }

    public delegate void ByteArrayEventHandler(byte[] buffer);
}